package com.hdoit.apollo.logical.stock.dao;

import java.util.List;

import com.hdoit.apollo.logical.stock.model.OutStock;
import com.hdoit.apollo.logical.viewmodel.stock.OutStockSearch;
import com.tennetcn.data.dao.base.ISuperDao;
import com.tennetcn.data.message.PagerModel;
/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年04月02日 11:54:49
 * @comment
 */
public interface IOutStockDao extends ISuperDao<OutStock>{

	public OutStock queryModelById(String key);

	public boolean deleteOsutStockByKey(String outStockId);

	public List<OutStock> queryListBySearch(OutStockSearch search);

	public List<OutStock> queryListMPForReturn(OutStockSearch search,
			PagerModel pagerModel);

	public OutStock queryModelBySee(String key);

	public int queryCountMPForReturn(OutStockSearch search);

	public boolean deleteOutStockData(String billingId);
	
	public boolean deleteOutStockShowData(String billingId);
	
	public boolean deleteOutStockCollocationData(String billingId);
}